package com.day07;
class Student {
    String name;
    int age;
    public void study()
    {
        System.out.println("学习");
    }
    public void doHomeWork()
    {
        System.out.println("做作业");
    }
}
public class StudentDemo {
    public static void main(String[] args) {
        Student s=new Student();
        System.out.println(s.name+","+s.age);
        s.name="林青霞";
        s.age=30;
        System.out.println(s.name+","+s.age);
        s.study();
        s.doHomeWork();
    }
}
